<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/includes.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>zzzzzz - Dashboard</title>
	<%@ include file="/WEB-INF/common/meta.jsp" %>
	<link type="text/css" rel="stylesheet" href="${ctx}/res/css/main.css" />
	<script type="text/javascript" src="${ctx}/res/js/jquery/jquery-1.6.1.min.js"></script>
	<script type="text/javascript">
		var jq = jQuery.noConflict();
	</script>
	<script type="text/javascript" src="${ctx}/res/js/main.js"></script>
	<script type="text/javascript" src="${ctx}/res/js/simple_tabsheet.js"></script>
</head>
<body>

<%
boolean isWelcomeSelected = false;
boolean isNewFeedsSelected = true;
boolean isMessagesSelected = false;
boolean isFriendsSelected = false;
%>

<%@ include file="/WEB-INF/common/header.jsp" %>

<div id="user-dashboard" class="site-wrap wrap">
	<div class="content-wrap wrap">
		<div class="content-left-col">
			<div class="col-inner">
				<%@ include file="include/dashboard/db_content_left.jsp" %>
			</div>
		</div>
		<div class="content-right-col">
			<div class="col-inner">
				<%@ include file="include/dashboard/db_content_right.jsp" %>
			</div>
		</div>
	</div>
	<div class="sidebar">
		<%@ include file="include/dashboard/db_sidebar.jsp" %>
	</div>
</div>

<%@ include file="/WEB-INF/common/footer.jsp" %>

<script type="text/javascript">

var dashboard_tabSheet = new SimpleTabSheet({
	'j_tabsheet' : [
						{ 'j_tab' : jq('a[href$="#tab-dashboard-welcome"]'), 'j_tab_content' : jq('#tab-dashboard-welcome'), 'j_tab_dependency' : jq('a[href$="#tab-dashboard-welcome"]'), 'j_tab_selected_by_default' : <%=isWelcomeSelected%> },
						{ 'j_tab' : jq('a[href$="#tab-dashboard-newfeeds"]'), 'j_tab_content' : jq('#tab-dashboard-newfeeds'), 'j_tab_dependency' : jq('a[href$="#tab-dashboard-newfeeds"]'), 'j_tab_selected_by_default' : <%=isNewFeedsSelected%> },
						{ 'j_tab' : jq('a[href$="#tab-dashboard-messages"]'), 'j_tab_content' : jq('#tab-dashboard-messages'), 'j_tab_dependency' : jq('a[href$="#tab-dashboard-messages"]'), 'j_tab_selected_by_default' : <%=isMessagesSelected%> },
						{ 'j_tab' : jq('a[href$="#tab-dashboard-friends"]'), 'j_tab_content' : jq('#tab-dashboard-friends'), 'j_tab_dependency' : jq('a[href$="#tab-dashboard-friends"]'), 'j_tab_selected_by_default' : <%=isFriendsSelected%> }
				   ]
});

</script>

</body>
</html>